<style type="text/css">
.storelogo img{width:3.2rem;height:3.2rem}
.merchgroup .store-star {padding:0.1rem 0 0.2rem 0;font-size:0.55rem;line-height:1rem}
.merchgroup .store-star img{height:0.66rem}
.star-on,.star-off{position:absolute;top:1rem;left:0;overflow:hidden}
.star-rate {margin-left:0.2rem;color:#19b955}
.store-distance{float:right;color:#999}
.store-moneylimit{font-size:0.55rem}
.delete{color: #bebebe;text-decoration:line-through;font-size:0.55rem}
</style>
<div class="fui-page order-create-page fui-page-current"  style="background:#fff">
	<div class="fui-content">
		<div>
			<div class="headinfo" style="height:6.6rem;background-color:{{pagedata.pluginset.o_color || 'red'}};filter:Alpha(opacity=50);opacity:0.8;">
				<div class="fui-title-c" style="width:100%;height:100%;margin-left:1rem;margin-right:1rem">
					<div class="child userinfo" style="width:100%;">
						<a style="color: white;">
							<div class="face"><img ng-src="{{tomedia(pagedata.pluginset.logo) || '../core/resource/images/nopic.jpg'}}" /></div>
							<div class="name">作品列表</div>
							<div class="subtitle" style="font-size:12px;color:#fff"><span>作品共：{{pagedata.sum || 0}}个</span></div>
						</a>
					</div>
				</div>
				<div class="water">
					<div class="water-1"></div>
					<div class="water-2"></div>
				</div>
			</div>
		</div>
		<div class="fui-searchbar bar">
			<div ng-class="{'searchbar center':1,'searchbar-active':pagedata.searchbar ==1}">
						<input id="searchsub" type="button" ng-click="tool.get_list('jy_vote/index/getlist/keyword='+pagedata.params.keyword,true)"  value="搜索" class="searchbar-cancel searchbtn">
						<div class="search-input" ng-click="pagedata.searchbar =1">
							<input type="search" placeholder="输入关键字或者号码" class="search" ng-model="pagedata.params.keyword">
						</div>
			</div>
		</div>
		<div class="fui-picturew row-2" style="padding: {paddingtop}px {paddingleft}px; background: {background};">
                <a ng-repeat="item in pagedata.list" class="item"  style="padding: 5px;" href="javascript:;" ng-click="access_json('jy_vote/o_detail//id='+item.id)" >
                    <div class="image" style="width:100%;height:150px;background:url('{{tomedia(item.thumb) || '../core/resource/images/nopic.jpg'}}') no-repeat 50%;background-size: cover;">
						<div ng-if="pagedata.pluginset.show_otitle!=1" class="vote-number">{{item.id}}号，{{item.realname || '神秘巨星'}}</div>
						<div ng-if="pagedata.pluginset.show_otitle==1" class="vote-number">{{item.id}}号，{{item.title || '作品名称'}}</div>
						<div class="pics">{{item.picsnum || 0}}P</div>
						
                    </div>
					<div ng-if="pagedata.basic.is_downline!=1">
					<div class="btn-footer" ng-if="item.group.type==0">
							<div class="b-left">投票</div>
							<div class="b-right">{{item.votenums || 0}}票</div>
					</div>
					<div class="btn-footer" ng-if="item.group.type!=0 && item.plugin!='jy_weishop'">
							<div class="b-left">点赞</div>
							<div class="b-right">{{item.likes || 0}}赞</div>
					</div>
					<div class="btn-footer" ng-if="item.plugin=='jy_weishop' && !item.group.type">
							<div class="b-left">买家秀</div>
							<div class="b-right">{{item.likes || 0}}赞</div>
					</div>
					</div>
					<div ng-if="pagedata.basic.is_downline==1">
					<div class="btn-footer">
							<div class="b-left" style="width:50%;padding:5px;border-bottom-left-radius:0">专家评分</div>
							<div class="b-right" style="width:50%;padding:5px;border-bottom-right-radius:0">{{item.pingfen || 0}}分</div>
					</div>
					<div class="btn-footer">
							<div class="b-left" style="width:50%;padding:5px;border-bottom-left-radius:0">线下投票</div>
							<div class="b-right" style="width:50%;padding:5px;border-bottom-right-radius:0">{{item.votenums1 || 0}}票</div>
					</div>
					<div class="btn-footer">
							<div class="b-left" style="width:50%;padding:5px;border-bottom-left-radius:0">线上投票</div>
							<div class="b-right" style="width:50%;padding:5px;border-bottom-right-radius:0">{{item.votenums2 || 0}}票</div>
					</div>
					</div>
                </a>
		</div>
		<div ng-show="pagedata.loading" class='infinite-loading'><span class='fui-preloader'></span><span style="margin-left:1.5rem"> 正在加载...</span></div>
	</div>
</div>
<div ng-include="sys_html('_footer')"></div>
<script>
scope.loading = true;  //状态标记
scope.isnodata = true;
scope.pagedata.list =[];
//滚动加载
scope.pagedata.params = {}
scope.pagedata.params.keyword = ''
scope.tool.get_list('jy_vote/index/getlist/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_vote/index/getlist/keyword='+scope.pagedata.params.keyword);
}
//手机软键盘--搜索
$("body").keydown(function() {
    if (event.keyCode == "13") {
        $('#searchsub').click();
    }
});
</script>
